package com.yyplatform.admin.platform.message.model.entity;

import com.yyplatform.admin.infra.model.entity.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;

@Data
@Entity
@Table(name = "sys_email_template")
public class SysEmailTemplateEntity extends BaseEntity {

    // 模板编码
    @Column(name = "template_code", nullable = false, columnDefinition = "varchar(255) COMMENT '模板编码'")
    private String templateCode;

    // 邮件名称
    @Column(name = "template_name", nullable = false, columnDefinition = "varchar(255) COMMENT '模板名称'")
    private String templateName;

    // 邮件内容
    @Column(name = "template_content", nullable = false, columnDefinition = "varchar(255) COMMENT '模板内容'")
    private String templateContent;

    // 邮件主题
    @Column(name = "subject", nullable = false, columnDefinition = "varchar(255) COMMENT '主题'")
    private String subject;


}
